package jp.sourceforge.akjrcp.dropsomething.actions;

import java.io.File;

import jp.sourceforge.akjrcp.dropsomething.DropsomethingAction;
import jp.sourceforge.akjrcp.flvtools.explorer.ThumbnailManager;
import jp.sourceforge.akjrcp.util.FileNameUtils;

public class MakePSPThumbnailAction implements DropsomethingAction{

	public void exec(File input,File output) {
		String name=FileNameUtils.getChangedExtensionName(output, "jpg",true);
		File jpegFile=new File(name);
		ThumbnailManager.makeThumbnail(output, 3, jpegFile);
	}

}
